<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
</head>
<body>

<form action="/admin" method="post">
    用户名: <input type="text" name="username"> <br>
    密 码: <input type="password" name="pwd">   <br>
    性别:
    <input type="radio" name="sex" value="1">男
    <input type="radio" name="sex" value="2">女 <br>
    爱好：
    <input type="checkbox" name="vehicle" value="Bike">bike
    <input type="checkbox" name="vehicle" value="Car">car<br>
    @csrf
    <input type="submit" value="提交">
</form>

@if ($errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
</body>
</html>
